Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  


RE: How can I create a link Hotspot through Lotusscript?
~Umberto Nongeroson 19.Sep.03 10:12 AM a Web browser
Domino Designer 6.0.2 Windows XP


Are you sure you looked in Designer 6 Help? It is not in earlier releases. It is only in Designer 6.

Anyway, here is a demo. This code in a button in my journal database creates a new document containing a URL link. The indentation is only to make it easier to read here in the forum, of course:



    Sub Click(Source As Button)
    link$ = "LDD"
    url$
    = "http://www.notes.net"

    Dim session As New NotesSession

    Dim db As NotesDatabase
    Set db = session.CurrentDatabase

    Dim stream As NotesStream
    Set stream = session.CreateStream
    stream.WriteText
    {<?xml version='1.0' encoding='utf-8' ?>
    <database xmlns='http://www.lotus.com/dxl' version='6.0'>
    <document form='JournalEntry'>
    <item name='Subject'><text>DXL demo</text></item>
    <item name='Body'>
    <richtext>
    <par>
    <run>Click on this link: </run>
    <urllink showborder='false' href='} & url$ & {'>
    <run><font color='system'/>} & link$ & {</run>
    </urllink>
    </par>
    </richtext>
    </item>
    </document>
    </database>}

    Dim dmp As NotesDXLImporter
    Set dmp = session.CreateDXLIMporter(stream, db)
    dmp.Process
    End Sub




How can I create a link Hotspot thr... (~Zelda Zekkibur... 19.Aug.03)
. . RE: How can I create a link Hotspot... (~Yentl Quetkrot... 19.Aug.03)
. . RE: How can I create a link Hotspot... (~Bella Cistumis... 19.Aug.03)
. . RE: How can I create a link Hotspot... (~Kirk Elreterod... 19.Aug.03)
. . . . RE: How can I create a link Hotspot... (~Zelda Zekkibur... 19.Sep.03)
. . . . . . RE: How can I create a link Hotspot... (~Kirk Elreterod... 19.Sep.03)
. . . . . . . . RE: How can I create a link Hotspot... (~Zelda Zekkibur... 29.Sep.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS